#include <stdio.h>

int TestReturn(int num)
{
	return num == 1;
}

int main()
{
	int num;
	scanf("%d",&num);
	printf("%d\n",TestReturn( num ));//逻辑运算返回值为0/1
}